1887, sporting slang, origin obscure, probably from somebody's long-forgotten lame racehorse. Charley horse seems to have been a name for a horse or a type of horse (perhaps especially a lame one) around that time.
charlatanism
Charlemagne
Charles
Charles's Wain
Charleston
charley horse
Charlie
Charlotte
charm
charmer
charming